/* eslint-disable */
var express = require('express')
var router = express.Router()

// 授课地点
router.get('/lecture/v1/classrooms', function (req, res) {
  res.send({
    "status": 200, "message": "ok", "result": {
      "classrooms": [{
        "class_room_id": "7068",
        "class_room_name": "录播室"
      }, {
        "class_room_id": "8888",
        "class_room_name": "办公室"
      }, {
        "class_room_id": "222",
        "class_room_name": "七年级1班"
      }]
    }
  })
})

// 科组
router.get('/lecture/v1/subjectGroups', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "subject_groups": [{
        "subject_group_id": "4679665164583612636",
        "subject_group_name": "语文科组"
      }, {
        "subject_group_id": "777777777777777777",
        "subject_group_name": "数学科组"
      }]
    }
  })
})

router.get('/lecture/v1/teacherClasses', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "data": [
        {
          "class": {
            "id": "5636183643038125101",
            "period_id": "1001",
            "year": "2017",
            "number": "4",
            "alias": "5班",
            "students_num": "0",
            "question": "",
            "answer": "",
            "school_id": "4743935625164463028",
            "school_name": "深度学校",
            "grade_id": "1101",
            "grade_name": "一年级",
            "campus_id": "5255421148254165520",
            "grade_uid": "5601661057566615964"
          },
          "subject": {
            "subject_id": "2",
            "subject_name": "数学"
          }
        }
      ]
    }
  })
})

// 取校区班级
router.get('/lecture/v1/campusinfo', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "period": [
        {
          "period_id": "1001",
          "period_name": "小学"
        },
        {
          "period_id": "1003",
          "period_name": "高中"
        }
      ],
      "schoolClasses": [
        {
          "class_id": "50251779914906553",
          "class_name": "1班",
          "grade_id": "1107",
          "grade_name": "已毕业",
          "school_id": "47439356251644638",
          "school_name": "深度学校",
          "campus_id": "52554211482541650",
          "campus_name": "主校区"
        },
        {
          "class_id": "5025177991490655384",
          "class_name": "1班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5413602102339356352",
          "class_name": "竞赛班",
          "grade_id": "1111",
          "grade_name": "高一",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5744859030145755007",
          "class_name": "5班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5518503189384302674",
          "class_name": "2班",
          "grade_id": "1101",
          "grade_name": "一年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4679018769799125530",
          "class_name": "pic测试班",
          "grade_id": "1111",
          "grade_name": "高一",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5129410724669057019",
          "class_name": "3班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5763378150159482275",
          "class_name": "6班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4663028307914966560",
          "class_name": "π12班",
          "grade_id": "1111",
          "grade_name": "高一",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5289543128878283697",
          "class_name": "3班",
          "grade_id": "1101",
          "grade_name": "一年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5532216866603797581",
          "class_name": "11班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5629771343248596848",
          "class_name": "π-class调试班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4768170785106164841",
          "class_name": "πClass班",
          "grade_id": "1111",
          "grade_name": "高一",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4749950145245617860",
          "class_name": "2班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5545092489217923238",
          "class_name": "4班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5015483610072272084",
          "class_name": "1班",
          "grade_id": "1101",
          "grade_name": "一年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5528126364867943929",
          "class_name": "9班",
          "grade_id": "1107",
          "grade_name": "七年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4617353973020832489",
          "class_name": "备课测试班1",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4683484319816233673",
          "class_name": "1班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4761554362839036168",
          "class_name": "3班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5074197553879939768",
          "class_name": "备课测试班3",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5138655218000486205",
          "class_name": "6班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5335402184842985520",
          "class_name": "2班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5443338435488368182",
          "class_name": "4班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5577389242493676233",
          "class_name": "9班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5689529999218094960",
          "class_name": "7班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4669715201887211374",
          "class_name": "10班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4739893650957607185",
          "class_name": "7班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4797698829078841701",
          "class_name": "备课测试班6",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4899476363079071928",
          "class_name": "(1)班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5102354271094635841",
          "class_name": "9\u002614班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5228097283775596549",
          "class_name": "6班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5318088379231405439",
          "class_name": "7班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5677258743199486143",
          "class_name": "1班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4629900507561959741",
          "class_name": "2班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4695305138173974385",
          "class_name": "amanda",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4771851180568672902",
          "class_name": "8班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5005750296068736621",
          "class_name": "pad课堂演示班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5081132890145655058",
          "class_name": "备课测试班2",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5215298327431158916",
          "class_name": "9班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5277078851935680208",
          "class_name": "1班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5370271266534705108",
          "class_name": "小派测试班-初中",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5716458991578517488",
          "class_name": "10班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4753742517586625174",
          "class_name": "5班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4861505538628779082",
          "class_name": "4班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4916134160824050877",
          "class_name": "09班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5045252413034584859",
          "class_name": "13.班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5325852529789728927",
          "class_name": "08班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5434489126679123894",
          "class_name": "8班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5571771475093252898",
          "class_name": "5班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5689065713419547440",
          "class_name": "12班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4897602844857345643",
          "class_name": "备课测试班5",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5019418036012330782",
          "class_name": "高二7班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5100308155667944506",
          "class_name": "6班",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5217662489655067670",
          "class_name": "13班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5396279612339622980",
          "class_name": "11班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5734517870096395361",
          "class_name": "9班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4694477789389028414",
          "class_name": "3班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4868483638864326063",
          "class_name": "备课测试班9",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5075577894249932977",
          "class_name": "七年级测试1",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5246249155487672002",
          "class_name": "07班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5369682594624378245",
          "class_name": "备课测试班4",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5508996505049353021",
          "class_name": "3班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5583786049567209544",
          "class_name": "体验班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4854314243802243558",
          "class_name": "4班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4914063832161952347",
          "class_name": "7班",
          "grade_id": "1102",
          "grade_name": "二年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5027277829395966901",
          "class_name": "备课测试班7",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5320009935681230853",
          "class_name": "5班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5683161848867202308",
          "class_name": "8班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4739632584763284813",
          "class_name": "高二8班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4892866204982209528",
          "class_name": "2班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5216735601193935265",
          "class_name": "08班",
          "grade_id": "1112",
          "grade_name": "高二",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5280221973438065760",
          "class_name": "备课测试班8",
          "grade_id": "1108",
          "grade_name": "八年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4867185829161200123",
          "class_name": "1班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4947887445844037445",
          "class_name": "8班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5241109224816133901",
          "class_name": "Tom班",
          "grade_id": "1103",
          "grade_name": "三年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5532359065256461385",
          "class_name": "4班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4875717959313393141",
          "class_name": "17班",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5239733936121461617",
          "class_name": "3班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4739752232262956985",
          "class_name": "9班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4793625446430025089",
          "class_name": "1班",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4620659310777960984",
          "class_name": "数字课堂公开课",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5194954784210869759",
          "class_name": "2班",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5690670955796124856",
          "class_name": "2班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4674808808168211097",
          "class_name": "八年级测试1",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5121760470694658326",
          "class_name": "6班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5234872405531764535",
          "class_name": "小pi测试班",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5422435871999925080",
          "class_name": "Tom班",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5761497672553722578",
          "class_name": "5班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4657620330356759761",
          "class_name": "7班",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4783910933119568187",
          "class_name": "小组课堂",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5090663086379445111",
          "class_name": "7班",
          "grade_id": "1109",
          "grade_name": "九年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5389550259475405215",
          "class_name": "8班",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5624453392599626904",
          "class_name": "小组Pad班5",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5727608318913183731",
          "class_name": "数字课堂",
          "grade_id": "1113",
          "grade_name": "高三",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "5623683708170240886",
          "class_name": "1班",
          "grade_id": "1104",
          "grade_name": "四年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        },
        {
          "class_id": "4954885999421183943",
          "class_name": "8班",
          "grade_id": "1106",
          "grade_name": "六年级",
          "school_id": "4743935625164463028",
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区"
        }
      ],
      "subjects": [
        {
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "subject_id": "4",
          "subject_name": "科学"
        }
      ]
    }
  })
})

// 提交
// 错误类型1
/*   `
{"status":200,"message":"ok","result":{"rocc":{"lesson_name":"","teacher_name":"您","class_room_name":"八年级10班","lesson_date":"2018-01-31"},"success":false,"type":1}}

` */
// 课程列表
router.get('/lecture/v2/listenlist', function (req, res) {
  let page = req.query.offset
  // res.send({
  //   "status": 200,
  //   "message": "ok",
  //   "result": {
  //     "listenList": [],
  //     "nowDate": "2018-02-07 10:05"
  //   }
  // })
  // return
  console.log(page)
  if (page > 20) {
    res.send({
      "status": 200,
      "message": "ok",
      "result": {
        "listenList": [],
        "nowDate": "2018-02-07 10:05"
      }
    })
    return
  }
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "listenList": [{
        "id": "4836155846838091225" + page,
        "name": "《内网测试2》",
        "user_id": "466884",
        "user_name": "胡晓华",
        "class_room_id": "11528",
        "class_room_name": "多媒体中心",
        "lesson_date": "2018-01-31T00:00:00+08:00",
        "start_time": "09:00:00",
        "end_time": "09:45:00",
        "lesson_name": "false",
        "lesson_id": "0",
        "grade_id": "1107",
        "grade_name": "七年级",
        "class_id": "5025177991490655384",
        "class_name": "1班",
        "subject_id": "2",
        "subject_name": "数学",
        "live_url": "http://9491.liveplay.myqcloud.com/live/9491_gjzx.m3u8",
        "observation": "",
        "user_course": "0",
        "status": "2"
      }, {
        "id": "4797840465501570741" + page,
        "name": "公开课测试1",
        "user_id": "466877",
        "user_name": "校领导",
        "class_room_id": "1016730",
        "class_room_name": "八年级10班",
        "lesson_date": "2018-01-31T00:00:00+08:00",
        "start_time": "10:20:00",
        "end_time": "11:05:00",
        "lesson_name": "",
        "lesson_id": "0",
        "grade_id": "1101",
        "grade_name": "一年级",
        "class_id": "5015483610072272084",
        "class_name": "1班",
        "subject_id": "1",
        "subject_name": "语文",
        "live_url": "",
        "observation": "思考,民主,创新,特质,准备,倾听,互动",
        "user_course": "0",
        "status": "2"
      }, {
        "id": "5534277910591376951" + page,
        "name": "公开课测试1",
        "user_id": "466877",
        "user_name": "校领导",
        "class_room_id": "1016730",
        "class_room_name": "八年级10班",
        "lesson_date": "2018-02-01T00:00:00+08:00",
        "start_time": "10:20:00",
        "end_time": "11:05:00",
        "lesson_name": "",
        "lesson_id": "0",
        "grade_id": "1101",
        "grade_name": "一年级",
        "class_id": "5015483610072272084",
        "class_name": "1班",
        "subject_id": "1",
        "subject_name": "语文",
        "live_url": "",
        "observation": "思考,民主,创新,特质,准备,倾听,互动",
        "user_course": "0",
        "status": "2"
      }],
      "nowDate": "2018-01-31 11:43"
    }
  })
})

// 是否是管理员
router.get('/lecture/v1/isLeader', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "is_leader": true
    }
  })
})

// 获取联盟关系的校区列表
router.get('/lecture/v1/alliedCampuses', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "campuses": [
        // {
        //   "campus_id": "5255421148254165520",
        //   "campus_name": "深度学校主校区",
        //   "is_self": "false"
        // },
        // {
        //   "campus_id": "4892271197889314468",
        //   "campus_name": "深圳市南山区西丽实验小学主校区",
        //   "is_self": "true"
        // }
      ]
    }
  })
})

// 根据校区ID获取该校区所有的年级、科目及所有的教师列表
router.get('/lecture/v2/gradeSubjectTeachers', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "grades": [
        {
          "grade_id": "4674131918145389775",
          "grade_name": "2016级"
        },
        {
          "grade_id": "4747174738590254891",
          "grade_name": "2017级"
        },
        {
          "grade_id": "4823254943452120659",
          "grade_name": "2011级"
        },
        {
          "grade_id": "4918440141674958307",
          "grade_name": "2016级"
        },
        {
          "grade_id": "4952223969303506107",
          "grade_name": "二年级"
        },
        {
          "grade_id": "5075991603235814022",
          "grade_name": "2013级"
        },
        {
          "grade_id": "5123695381884906585",
          "grade_name": "三年级"
        },
        {
          "grade_id": "5434995152391940523",
          "grade_name": "2016级"
        },
        {
          "grade_id": "5487453627730089668",
          "grade_name": "2010级"
        },
        {
          "grade_id": "5499100972994599268",
          "grade_name": "2015级"
        },
        {
          "grade_id": "5587037628093292755",
          "grade_name": "2015级"
        },
        {
          "grade_id": "5752993704902636314",
          "grade_name": "2014级"
        }
      ],
      "subjects": [
        {
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "subject_id": "5",
          "subject_name": "物理"
        },
        {
          "subject_id": "6",
          "subject_name": "化学"
        },
        {
          "subject_id": "7",
          "subject_name": "历史"
        },
        {
          "subject_id": "8",
          "subject_name": "地理"
        },
        {
          "subject_id": "9",
          "subject_name": "政治"
        },
        {
          "subject_id": "10",
          "subject_name": "生物"
        },
        {
          "subject_id": "12",
          "subject_name": "信息科学与技术"
        },
        {
          "subject_id": "22",
          "subject_name": "综合"
        }
      ],
      "teachers": [
        {
          "user_id": "433744",
          "user_name": "Albert1",
          "teacher_code": "201710001",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "435131",
          "user_name": "Leo2",
          "teacher_code": "2017022102",
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "user_id": "435135",
          "user_name": "Eric2",
          "teacher_code": "2017022106",
          "subject_id": "5",
          "subject_name": "物理"
        },
        {
          "user_id": "413284",
          "user_name": "陈小旋",
          "teacher_code": "001",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "451873",
          "user_name": "政治老师",
          "teacher_code": "201710",
          "subject_id": "9",
          "subject_name": "政治"
        },
        {
          "user_id": "451874",
          "user_name": "生物老师",
          "teacher_code": "201711",
          "subject_id": "10",
          "subject_name": "生物"
        },
        {
          "user_id": "413283",
          "user_name": "赵福红",
          "teacher_code": "201606",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "433568",
          "user_name": "黄伟",
          "teacher_code": "201609",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "449906",
          "user_name": "徐杨",
          "teacher_code": "201607",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "412521",
          "user_name": "演示2",
          "teacher_code": "201601",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "452926",
          "user_name": "李文亭",
          "teacher_code": "102",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "447812",
          "user_name": "小组老师",
          "teacher_code": "201701",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "433749",
          "user_name": "Jerry2",
          "teacher_code": "201710006",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "376903",
          "user_name": "华军",
          "teacher_code": "",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "435139",
          "user_name": "Zander3",
          "teacher_code": "2017022110",
          "subject_id": "6",
          "subject_name": "化学"
        },
        {
          "user_id": "374621",
          "user_name": "林华军",
          "teacher_code": "201501",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "435129",
          "user_name": "Leo1",
          "teacher_code": "2017022101",
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "user_id": "435137",
          "user_name": "Zander1",
          "teacher_code": "2017022108",
          "subject_id": "6",
          "subject_name": "化学"
        },
        {
          "user_id": "435140",
          "user_name": "Dragon1",
          "teacher_code": "2017022111",
          "subject_id": "10",
          "subject_name": "生物"
        },
        {
          "user_id": "449031",
          "user_name": "历史老师",
          "teacher_code": "0001",
          "subject_id": "7",
          "subject_name": "历史"
        },
        {
          "user_id": "413283",
          "user_name": "赵福红",
          "teacher_code": "201606",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "433748",
          "user_name": "Jerry1",
          "teacher_code": "201710005",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "433021",
          "user_name": "演示3",
          "teacher_code": "201608",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "412524",
          "user_name": "胡琳",
          "teacher_code": "201603",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "433750",
          "user_name": "Jerry3",
          "teacher_code": "201710007",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "435142",
          "user_name": "Dragon3",
          "teacher_code": "2017022113",
          "subject_id": "10",
          "subject_name": "生物"
        },
        {
          "user_id": "452924",
          "user_name": "何艳",
          "teacher_code": "100",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "435133",
          "user_name": "Leo4",
          "teacher_code": "2017022104",
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "user_id": "433745",
          "user_name": "Albert2",
          "teacher_code": "201710002",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "435132",
          "user_name": "Leo3",
          "teacher_code": "2017022103",
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "user_id": "435136",
          "user_name": "Eric3",
          "teacher_code": "2017022107",
          "subject_id": "5",
          "subject_name": "物理"
        },
        {
          "user_id": "412523",
          "user_name": "黄烨",
          "teacher_code": "201602",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "374022",
          "user_name": "李老师",
          "teacher_code": "",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "374290",
          "user_name": "test数学老师",
          "teacher_code": "",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "376430",
          "user_name": "王彤",
          "teacher_code": "",
          "subject_id": "12",
          "subject_name": "信息科学与技术"
        },
        {
          "user_id": "374290",
          "user_name": "test数学老师",
          "teacher_code": "",
          "subject_id": "22",
          "subject_name": "综合"
        },
        {
          "user_id": "412525",
          "user_name": "黄立娥",
          "teacher_code": "201604",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "412526",
          "user_name": "演示1",
          "teacher_code": "201605",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "389086",
          "user_name": "潘老师",
          "teacher_code": "",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "433751",
          "user_name": "Jerry4",
          "teacher_code": "201710008",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "435138",
          "user_name": "Zander2",
          "teacher_code": "2017022109",
          "subject_id": "6",
          "subject_name": "化学"
        },
        {
          "user_id": "435141",
          "user_name": "Dragon2",
          "teacher_code": "2017022112",
          "subject_id": "10",
          "subject_name": "生物"
        },
        {
          "user_id": "433747",
          "user_name": "Albert4",
          "teacher_code": "201710004",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "435134",
          "user_name": "Eric1",
          "teacher_code": "2017022105",
          "subject_id": "5",
          "subject_name": "物理"
        },
        {
          "user_id": "448390",
          "user_name": "化学老师",
          "teacher_code": "0000",
          "subject_id": "6",
          "subject_name": "化学"
        },
        {
          "user_id": "452927",
          "user_name": "周彤",
          "teacher_code": "103",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "452925",
          "user_name": "欧阳",
          "teacher_code": "101",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "451884",
          "user_name": "政治老师5",
          "teacher_code": "201750",
          "subject_id": "9",
          "subject_name": "政治"
        },
        {
          "user_id": "451885",
          "user_name": "生物老师5",
          "teacher_code": "201751",
          "subject_id": "10",
          "subject_name": "生物"
        },
        {
          "user_id": "390126",
          "user_name": "罗老师",
          "teacher_code": "",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "374621",
          "user_name": "林华军",
          "teacher_code": "201501",
          "subject_id": "5",
          "subject_name": "物理"
        },
        {
          "user_id": "452876",
          "user_name": "hu",
          "teacher_code": "10000",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "452876",
          "user_name": "hu",
          "teacher_code": "10000",
          "subject_id": "8",
          "subject_name": "地理"
        },
        {
          "user_id": "433746",
          "user_name": "黄黄",
          "teacher_code": "201710003",
          "subject_id": "8",
          "subject_name": "地理"
        },
        {
          "user_id": "412523",
          "user_name": "黄烨",
          "teacher_code": "201602",
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "user_id": "412524",
          "user_name": "胡琳",
          "teacher_code": "201603",
          "subject_id": "9",
          "subject_name": "政治"
        },
        {
          "user_id": "433568",
          "user_name": "黄伟",
          "teacher_code": "201609",
          "subject_id": "10",
          "subject_name": "生物"
        },
        {
          "user_id": "454529",
          "user_name": "T-Eric",
          "teacher_code": "20170526",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "454530",
          "user_name": "TeacherWang",
          "teacher_code": "20170528",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "433746",
          "user_name": "黄黄",
          "teacher_code": "201710003",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "455929",
          "user_name": "陈桥黎",
          "teacher_code": "S021",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455930",
          "user_name": "李绍伟",
          "teacher_code": "S022",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455931",
          "user_name": "谭九龙",
          "teacher_code": "S023",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455932",
          "user_name": "尹晓军",
          "teacher_code": "S024",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455933",
          "user_name": "许驰航",
          "teacher_code": "S025",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455934",
          "user_name": "叶丽珍",
          "teacher_code": "S026",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455935",
          "user_name": "林华军",
          "teacher_code": "S027",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455936",
          "user_name": "黄烨",
          "teacher_code": "S028",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455937",
          "user_name": "林建生",
          "teacher_code": "S029",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455938",
          "user_name": "于思淼",
          "teacher_code": "S030",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455939",
          "user_name": "张繇曦",
          "teacher_code": "S031",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455940",
          "user_name": "赵矿宝",
          "teacher_code": "S032",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455941",
          "user_name": "袁俪中",
          "teacher_code": "S033",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455942",
          "user_name": "王守革",
          "teacher_code": "S034",
          "subject_id": "1",
          "subject_name": "语文"
        },
        {
          "user_id": "455943",
          "user_name": "温茂科",
          "teacher_code": "S035",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "455944",
          "user_name": "郑智达",
          "teacher_code": "S036",
          "subject_id": "3",
          "subject_name": "英语"
        },
        {
          "user_id": "456050",
          "user_name": "刘德华",
          "teacher_code": "20170901",
          "subject_id": "5",
          "subject_name": "物理"
        },
        {
          "user_id": "456109",
          "user_name": "潘潘",
          "teacher_code": "s001",
          "subject_id": "2",
          "subject_name": "数学"
        },
        {
          "user_id": "455930",
          "user_name": "李绍伟",
          "teacher_code": "S022",
          "subject_id": "3",
          "subject_name": "英语"
        }
      ]
    }
  })
})

router.get('/lecture/v1/teachers', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "success": true,
      "teachers": [
        {
          "user_id": "492709",
          "user_name": "王红",
          "teacher_code": "x052",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492623",
          "user_name": "胡雅",
          "teacher_code": "xl14",
          "subjects": [
            {
              "subject_id": "3",
              "subject_name": "英语"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492743",
          "user_name": "王冬平",
          "teacher_code": "x086",
          "subjects": [
            {
              "subject_id": "2",
              "subject_name": "数学"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492653",
          "user_name": "彭惠湘",
          "teacher_code": "x139",
          "subjects": [
            {
              "subject_id": "15",
              "subject_name": "音乐"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492659",
          "user_name": "张蕾",
          "teacher_code": "x145",
          "subjects": [
            {
              "subject_id": "12",
              "subject_name": "信息科学与技术"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492714",
          "user_name": "熊三秀",
          "teacher_code": "x057",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492733",
          "user_name": "陈雪珍",
          "teacher_code": "x076",
          "subjects": [
            {
              "subject_id": "2",
              "subject_name": "数学"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492676",
          "user_name": "蔡文娟",
          "teacher_code": "x019",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492646",
          "user_name": "彭春梅",
          "teacher_code": "x132",
          "subjects": [
            {
              "subject_id": "14",
              "subject_name": "体育"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492650",
          "user_name": "高惠玲",
          "teacher_code": "x136",
          "subjects": [
            {
              "subject_id": "15",
              "subject_name": "音乐"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492627",
          "user_name": "潘虹宇",
          "teacher_code": "xl19",
          "subjects": [
            {
              "subject_id": "3",
              "subject_name": "英语"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492706",
          "user_name": "潘沛沛",
          "teacher_code": "x049",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492730",
          "user_name": "陈冬华",
          "teacher_code": "x073",
          "subjects": [
            {
              "subject_id": "2",
              "subject_name": "数学"
            },
            {
              "subject_id": "12",
              "subject_name": "信息科学与技术"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492658",
          "user_name": "陈伟春",
          "teacher_code": "x144",
          "subjects": [
            {
              "subject_id": "12",
              "subject_name": "信息科学与技术"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492716",
          "user_name": "杨玲",
          "teacher_code": "x059",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492651",
          "user_name": "黄红平",
          "teacher_code": "x137",
          "subjects": [
            {
              "subject_id": "15",
              "subject_name": "音乐"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492688",
          "user_name": "郭炜璇",
          "teacher_code": "x031",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            },
            {
              "subject_id": "13",
              "subject_name": "品德与生活"
            }
          ],
          "state": 0
        },
        {
          "user_id": "492702",
          "user_name": "刘清霞",
          "teacher_code": "x045",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492752",
          "user_name": "卓  丹",
          "teacher_code": "x095",
          "subjects": [
            {
              "subject_id": "2",
              "subject_name": "数学"
            }
          ],
          "state": -1
        },
        {
          "user_id": "492640",
          "user_name": "谢琰",
          "teacher_code": "x126",
          "subjects": [
            {
              "subject_id": "11",
              "subject_name": "美术"
            }
          ],
          "state": -1
        }
      ]
    }
  }
  )
})

router.get('/lecture/v1/teacherRequest', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "success": true
    }
  })
})

// 获取我的导师列表
router.get('/lecture/v1/myteachers', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "teachers": [
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "teacher_user_id": "376428",
          "teacher_user_name": "王彤"
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "teacher_user_id": "376429",
          "teacher_user_name": "王彤2"
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "teacher_user_id": "376430",
          "teacher_user_name": "王彤3"
        }
      ]
    }
  })

})

// 徒弟列表
router.get('/lecture/v1/mystudents', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "students": [
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "student_user_id": "376428",
          "student_user_name": "王彤"
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "student_user_id": "376429",
          "student_user_name": "王彤2"
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "student_user_id": "376430",
          "student_user_name": "王彤3"
        }
      ]
    }
  })
})

// 获取我的结对伙伴列表
router.get('/lecture/v1/myPeers', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "students": [
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "student_user_id": "376428",
          "student_user_name": "王彤"
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "student_user_id": "376429",
          "student_user_name": "王彤2"
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "student_user_id": "376430",
          "student_user_name": "王彤3"
        }
      ],
      "teachers": [
        {
          "school_name": "深圳大学城西丽实验小学",
          "campus_id": "4892271197889314468",
          "campus_name": "主校区",
          "teacher_user_id": "492635",
          "teacher_user_name": "毕晓东",
          "teacher_avatar": "",
          "subjects": [
            {
              "subject_id": "11",
              "subject_name": "美术"
            }
          ]
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "teacher_user_id": "413283",
          "teacher_user_name": "赵福红",
          "teacher_avatar": "",
          "subjects": [
            {
              "subject_id": "1",
              "subject_name": "语文"
            },
            {
              "subject_id": "2",
              "subject_name": "数学"
            }
          ]
        },
        {
          "school_name": "深度学校",
          "campus_id": "5255421148254165520",
          "campus_name": "主校区",
          "teacher_user_id": "466888",
          "teacher_user_name": "罗帅",
          "teacher_avatar": "",
          "subjects": [
            {
              "subject_id": "2",
              "subject_name": "数学"
            },
            {
              "subject_id": "37",
              "subject_name": "国学"
            }
          ]
        }
      ]
    }
  })
})

// 解除师徒关系
router.post('/lecture/v1/deleteTeacherStudent', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "success": true
    }
  })
})

// 获取用户信息，由 app 提供，此处仅供测试
// 已合并到 【获取教师所教授的班级列表】
// router.get('/lecture/v1/getCurrUserInfo', function (req, res) {
//   res.send({
//     "status": 200,
//     "message": "ok",
//     "result": {
//       "user_id": 455855
//     }
//   })
// })

// 获取教师所教授的班级列表
router.get('/lecture/v1/getCurrUserInfo', function (req, res) {
  res.send({
    "status": 200,
    "message": "ok",
    "result": {
      "user_id": 455855,
      "data": [
        {
          "class": {
            "id": "5443338435488368182",
            "period_id": "1003",
            "year": "2016",
            "number": "4",
            "alias": "4班",
            "students_num": "50",
            "question": "",
            "answer": "",
            "school_id": "4743935625164463028",
            "school_name": "深度学校",
            "grade_id": "1112",
            "grade_name": "高二",
            "campus_id": "5255421148254165520",
            "grade_uid": "4918440141674958307"
          },
          "subject": {
            "subject_id": "2",
            "subject_name": "数学"
          }
        }
      ]
    }
  })
})


module.exports = router
